import request from '@/utils/request'

// 查询搓澡排号列表
export function listNumber(query) {
  return request({
    url: '/project/number/list',
    method: 'get',
    params: query
  })
}

// 查询搓澡排号详细
export function getNumber(ID) {
  return request({
    url: '/project/number/' + ID,
    method: 'get'
  })
}

// 新增搓澡排号
export function addNumber(data) {
  return request({
    url: '/project/number',
    method: 'post',
    data: data
  })
}

// 修改搓澡排号
export function updateNumber(data) {
  return request({
    url: '/project/number',
    method: 'put',
    data: data
  })
}

// 删除搓澡排号
export function delNumber(ID) {
  return request({
    url: '/project/number/' + ID,
    method: 'delete'
  })
}
